.center{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20%;
}

table {
    width: auto;
    border-top: 1px solid #999;
    border-left: 1px solid #999;
    border-spacing: 0;/*去掉单元格间隙*/
}